package chapter8;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/3/8 11:23
 */
class Instrument {
    public void play(Note note) {
        System.out.println("Instrutement.play()");
    }
}

public class Wind extends Instrument {
    @Override
    public void play(Note note) {
        System.out.println("wind play " + note);
    }
}
